package com.hqyj.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.hqyj.pojo.ResultVo;
import com.hqyj.pojo.UserInfo;

public interface UserInfoService {
    //邮箱发送验证码
    ResultVo sendCode(String email);

    //验证验证码是否正确
    ResultVo validateCode(UserInfo user);

    //修改密码
    ResultVo updatePwd(UserInfo user);

    //发送短信
    ResultVo sendSms(String phone);

    //查询权限
    ResultVo queryPowerByName(String userName);


}
